package com.dotstone.chipism.bean;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;

/*************************************************************************
 * 公 司： 深圳市高金科技有限公司 作 者： 深圳市高金科技有限公司 文件名称：Key.java 内容摘要：遥控器按键模型 日 期： 2016-11-28
 ************************************************************************/
public class Key {

	private String name;
	private int keyNum;
	private int contentType;
	private boolean isSelected;
	private int isSignLayoutShowm;
	private String codeValue;
	private int keyId;
	private HashMap<Integer, String> powerCmds = new HashMap<Integer, String>();
	private HashMap<Integer, String> downTempCmds = new HashMap<Integer, String>();
	private HashMap<Integer, String> upTempCmds = new HashMap<Integer, String>();
	private HashMap<Integer, String> tempCmds = new HashMap<Integer, String>();
	private HashMap<Integer, String> modelCmds = new HashMap<Integer, String>();
	private List<KeyCmd> cmds = new ArrayList<KeyCmd>();
	public int getKeyId() {
		return keyId;
	}

	public void setKeyId(int keyId) {
		this.keyId = keyId;
	}

	public String getCodeValue() {
		return codeValue;
	}

	public void setCodeValue(String codeValue) {
		this.codeValue = codeValue;
	}

	public void setSelected(boolean isSelected) {
		this.isSelected = isSelected;
	}

	public boolean getIsSelected() {
		return isSelected;
	}

	public int getIsSignLayoutShowm() {
		return isSignLayoutShowm;
	}

	public void setIsSignLayoutShowm(int isSignLayoutShowm) {
		this.isSignLayoutShowm = isSignLayoutShowm;
	}

	public void setIsSelected(boolean isSelected) {
		this.isSelected = isSelected;
	}

	public int getContentType() {
		return contentType;
	}

	public void setContentType(int contentType) {
		this.contentType = contentType;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getKeyNum() {
		return keyNum;
	}

	public void setKeyNum(int keyNum) {
		this.keyNum = keyNum;
	}

	public Key() {
		super();
	}

	public HashMap<Integer, String> getPowerCmds() {
		return powerCmds;
	}

	public void setPowerCmds(HashMap<Integer, String> powerCmds) {
		this.powerCmds = powerCmds;
	}

	public HashMap<Integer, String> getDownTempCmds() {
		return downTempCmds;
	}

	public void setDownTempCmds(HashMap<Integer, String> downTempCmds) {
		this.downTempCmds = downTempCmds;
	}

	public HashMap<Integer, String> getUpTempCmds() {
		return upTempCmds;
	}

	public void setUpTempCmds(HashMap<Integer, String> upTempCmds) {
		this.upTempCmds = upTempCmds;
	}

	public HashMap<Integer, String> getTempCmds() {
		return tempCmds;
	}

	public void setTempCmds(HashMap<Integer, String> tempCmds) {
		this.tempCmds = tempCmds;
	}

	public HashMap<Integer, String> getModelCmds() {
		return modelCmds;
	}

	public void setModelCmds(HashMap<Integer, String> modelCmds) {
		this.modelCmds = modelCmds;
	}

	public Key(String name, int contentType, int keyNum, boolean selected) {
		this.name = name;
		this.contentType = contentType;
		this.keyNum = keyNum;
		this.isSelected = selected;
	}

	public List<KeyCmd> getCmds() {
		return cmds;
	}

	public void setCmds(List<KeyCmd> cmds) {
		this.cmds = cmds;
	}

}
